
import javax.swing.ImageIcon;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Atienza-Home
 */
public class Fruit {
    private ImageIcon image;
    private String name;
    private int quantity;
    private int index;
    private boolean isClick = false;
    
    public ImageIcon getImage(){
        return image;
    }
    
    public void setImage(ImageIcon image){
        this.image = image;
    }
    
    public String getName(){
        return name;
    }
    
    public void setName(String name){
        this.name = name;
    }
    
    public int getQuantity(){
        return quantity;
    }
    
    public void setQuantity(int quantity){
        this.quantity = quantity;
    }
    
    public int getIndex(){
        return index;
    }
    
    public void setIndex(int index){
        this.index = index;
    }
    
    public boolean getClicked(){
        return isClick;
    }
    
    public void setClicked(boolean isClick){
        this.isClick = isClick;
    }
    
    
}
